<?php
namespace app\Middleware;
use app\Model\adminUser;
class valiToken
{
	public static function token($conteoller='Login')
    {
        if($conteoller!='Login'){
            $vali = adminUser::getUserByToken($_GET['token']);
            if(!$vali){
                return errorCode(64);
            }
        }
    }
}
